<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/TGB.Master" CodeBehind="FrmListadoRemitos.aspx.vb" Inherits="TGB.FrmListadoRemitos" 
    title="Listado de Remitos" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="DIV1" style="width: 100%; height: 22px; text-align: left; background-color: #4a3c8c;" >
    
        <asp:Label ID="LblTitulo" runat="server" CssClass="titulo" Text="Listado de Remitos" Font-Underline="False" Height="8px" Width="174px" Font-Bold="False" ForeColor="White"></asp:Label>
        </div><hr /> 
    <div style="width: 100%; height: 82px; text-align: center; background-color: #efefef; vertical-align: middle;" id="DIV2">
        <br />
    <table class="tabla" style="width: 662px; height: 33px; text-align: center;" >
        <tr>
            <td align="right" colspan="4" style="height: 8px; vertical-align: middle; background-color: transparent; text-align: center; width: 387px;" >
                <asp:Label ID="LblCliente" runat="server" Text="Clientes:" Width="134px" Height="14px"></asp:Label>
                <asp:DropDownList ID="CboClientes" runat="server" CssClass="campotxt" Width="237px" AutoPostBack="True" AppendDataBoundItems="True">
                    <asp:ListItem></asp:ListItem>
                </asp:DropDownList>
                &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
        <asp:HiddenField ID="HFRemito" runat="server" />
        <asp:LinkButton ID="lnkReporte" runat="server">Reporte</asp:LinkButton>
        <asp:LinkButton ID="lnkVolver" runat="server" Width="79px">Volver</asp:LinkButton>&nbsp;
        <asp:LinkButton ID="lnkCancelar" runat="server" Width="76px">Cancelar</asp:LinkButton>
        <asp:Label ID="LblError" runat="server" Font-Bold="True" ForeColor="#C00000"></asp:Label></td>
        </tr>
        
    </table>
</div>
   &nbsp;&nbsp;
    <div style="width: 100%; height: 100%; background-color: #efefef">
        <asp:GridView ID="GVRemito" runat="server" AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" BackColor="White" BorderColor="#E7E7FF"
            BorderWidth="1px" CellPadding="3" CssClass="tabla" GridLines="Horizontal" PageSize="25" Style="width: 100%" Width="3056px" BorderStyle="None">
            <PagerSettings PageButtonCount="25" />
            <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
            <Columns>
                <asp:TemplateField HeaderText="Numero">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("Numero") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="lblNumero" runat="server" Text='<%# Bind("Numero") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Fecha">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("Fecha") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="lblFecha" runat="server" Text='<%# Bind("Fecha") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Valor Cotizado">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("ValorCotizado") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="lblValorCotizado" runat="server" Text='<%# Bind("ValorCotizado") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Detalle">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Detalle") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="lblDetalle" runat="server" Text='<%# Bind("Detalle") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Factura" Visible="False">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("idFactura") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="lblFactura" runat="server" Text='<%# Bind("idFactura") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LnkEliminar" runat="server" CausesValidation="False" CommandName="Select"
                            Text="Eliminar"></asp:LinkButton>
                        <asp:HiddenField ID="HFCodigoRemito" runat="server" Value='<%# bind("CodigoRemito") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <SelectedRowStyle BackColor="#738A9C" ForeColor="#F7F7F7" Font-Bold="True" />
            <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
            <AlternatingRowStyle BackColor="#F7F7F7" />
            <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
            <EmptyDataTemplate>
                <asp:Label ID="LblVacio" runat="server" BackColor="White" ForeColor="Red" Text="No existen Registros Relacionados"></asp:Label>
            </EmptyDataTemplate>
        </asp:GridView>
    </div>
</asp:Content>
